.class Lcom/estrongs/android/taskmanager/h;
.super Ljava/lang/Object;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/b;

.field private b:Landroid/telephony/TelephonyManager;

.field private c:Landroid/telephony/PhoneStateListener;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/b;Landroid/content/Context;)V
    .locals 1

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lcom/estrongs/android/taskmanager/i;

    invoke-direct {v0, p0}, Lcom/estrongs/android/taskmanager/i;-><init>(Lcom/estrongs/android/taskmanager/h;)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/h;->c:Landroid/telephony/PhoneStateListener;

    const-string v0, "phone"

    invoke-virtual {p2, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/h;->b:Landroid/telephony/TelephonyManager;

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/h;->f()V

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/h;->g()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/h;)Lcom/estrongs/android/taskmanager/b;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    return-object v0
.end method

.method private a(I)V
    .locals 3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f070003

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    packed-switch p1, :pswitch_data_0

    move-object v1, v0

    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090023

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f07004d

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f07004e

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f07004c

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f07004b

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_3
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method private a(Landroid/telephony/ServiceState;)V
    .locals 3

    invoke-virtual {p1}, Landroid/telephony/ServiceState;->getState()I

    move-result v1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f070003

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    packed-switch v1, :pswitch_data_0

    move-object v1, v0

    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090020

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/h;->c()V

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/h;->d()V

    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f070048

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f070049

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f07004a

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/h;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/estrongs/android/taskmanager/h;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/h;Landroid/telephony/ServiceState;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/estrongs/android/taskmanager/h;->a(Landroid/telephony/ServiceState;)V

    return-void
.end method

.method private c()V
    .locals 3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->b:Landroid/telephony/TelephonyManager;

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/h;->b:Landroid/telephony/TelephonyManager;

    invoke-virtual {v1}, Landroid/telephony/TelephonyManager;->getNetworkOperatorName()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f070003

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f09001f

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void

    :cond_0
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, " ("

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0
.end method

.method private d()V
    .locals 6

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    const-string v1, "wifi"

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/wifi/WifiManager;

    new-instance v1, Lcom/estrongs/android/taskmanager/j;

    invoke-direct {v1, p0, v0}, Lcom/estrongs/android/taskmanager/j;-><init>(Lcom/estrongs/android/taskmanager/h;Landroid/net/wifi/WifiManager;)V

    const/4 v0, 0x0

    new-array v0, v0, [Ljava/lang/Void;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/taskmanager/j;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    const/4 v1, 0x0

    :try_start_0
    invoke-static {}, Ljava/net/NetworkInterface;->getNetworkInterfaces()Ljava/util/Enumeration;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-nez v0, :cond_1

    :goto_1
    if-eqz v1, :cond_5

    invoke-virtual {v1}, Ljava/net/InetAddress;->getHostAddress()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090027

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v1}, Ljava/net/InetAddress;->getHostAddress()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_2
    return-void

    :cond_1
    invoke-interface {v2}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/net/NetworkInterface;

    invoke-virtual {v0}, Ljava/net/NetworkInterface;->getName()Ljava/lang/String;

    move-result-object v3

    const-string v4, "lo"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-virtual {v0}, Ljava/net/NetworkInterface;->getInetAddresses()Ljava/util/Enumeration;

    move-result-object v3

    :cond_2
    :goto_3
    invoke-interface {v3}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-nez v0, :cond_4

    move-object v0, v1

    :cond_3
    if-eqz v0, :cond_6

    move-object v1, v0

    goto :goto_1

    :cond_4
    invoke-interface {v3}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/net/InetAddress;

    invoke-virtual {v0}, Ljava/net/InetAddress;->toString()Ljava/lang/String;

    move-result-object v4

    const-string v5, ":"

    invoke-virtual {v4, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_2

    invoke-virtual {v0}, Ljava/net/InetAddress;->isLoopbackAddress()Z

    move-result v4

    if-eqz v4, :cond_3

    goto :goto_3

    :cond_5
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090027

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f070003

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
    :try_end_0
    .catch Ljava/net/SocketException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/net/SocketException;->printStackTrace()V

    goto :goto_2

    :cond_6
    move-object v1, v0

    goto :goto_0
.end method

.method private e()Ljava/util/List;
    .locals 11

    const/4 v3, 0x0

    new-instance v5, Ljava/util/LinkedList;

    invoke-direct {v5}, Ljava/util/LinkedList;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v6

    const/4 v1, 0x0

    :try_start_0
    new-instance v0, Ljava/io/RandomAccessFile;

    const-string v2, "/proc/mounts"

    const-string v4, "r"

    invoke-direct {v0, v2, v4}, Ljava/io/RandomAccessFile;-><init>(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    invoke-virtual {v0}, Ljava/io/RandomAccessFile;->readLine()Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_4

    move-result-object v1

    move-object v4, v1

    move v2, v3

    :goto_0
    if-nez v4, :cond_2

    :try_start_2
    invoke-virtual {v0}, Ljava/io/RandomAccessFile;->close()V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_3

    :goto_1
    invoke-virtual {v5, v6}, Ljava/util/LinkedList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {v5, v6}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    :cond_0
    invoke-virtual {v5}, Ljava/util/LinkedList;->size()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_1

    invoke-static {v5}, Ljava/util/Collections;->sort(Ljava/util/List;)V

    :cond_1
    return-object v5

    :cond_2
    :try_start_3
    const-string v1, " /proc "

    invoke-virtual {v4, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_3

    const-string v1, " "

    invoke-virtual {v4, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v7

    if-eqz v7, :cond_3

    move v1, v3

    :goto_2
    array-length v8, v7

    if-lt v1, v8, :cond_6

    :cond_3
    move v1, v2

    :cond_4
    const-string v2, "/dev/block/vold/"

    invoke-virtual {v4, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_5

    const-string v2, "secure"

    invoke-virtual {v4, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_5

    const-string v2, "asec"

    invoke-virtual {v4, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_5

    invoke-virtual {v4, v6}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_5

    const-string v2, " "

    invoke-virtual {v4, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_5

    array-length v4, v2

    if-ge v1, v4, :cond_5

    aget-object v2, v2, v1

    invoke-virtual {v5, v2}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    :cond_5
    invoke-virtual {v0}, Ljava/io/RandomAccessFile;->readLine()Ljava/lang/String;

    move-result-object v2

    move-object v4, v2

    move v2, v1

    goto :goto_0

    :cond_6
    const-string v8, "/proc"

    aget-object v9, v7, v1

    invoke-virtual {v8, v9}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_4

    move-result v8

    if-nez v8, :cond_4

    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :catch_0
    move-exception v0

    move-object v0, v1

    :goto_3
    :try_start_4
    invoke-virtual {v0}, Ljava/io/RandomAccessFile;->close()V
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_1

    goto :goto_1

    :catch_1
    move-exception v0

    goto :goto_1

    :catchall_0
    move-exception v0

    :goto_4
    :try_start_5
    invoke-virtual {v1}, Ljava/io/RandomAccessFile;->close()V
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_2

    :goto_5
    throw v0

    :catch_2
    move-exception v1

    goto :goto_5

    :catch_3
    move-exception v0

    goto :goto_1

    :catchall_1
    move-exception v1

    move-object v10, v1

    move-object v1, v0

    move-object v0, v10

    goto :goto_4

    :catch_4
    move-exception v1

    goto :goto_3
.end method

.method private f()V
    .locals 9

    :try_start_0
    invoke-static {}, Lcom/estrongs/android/taskmanager/b;->d()J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-nez v0, :cond_0

    new-instance v0, Ljava/io/RandomAccessFile;

    const-string v1, "/proc/meminfo"

    const-string v2, "r"

    invoke-direct {v0, v1, v2}, Ljava/io/RandomAccessFile;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/RandomAccessFile;->readLine()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    const-string v2, "total"

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    const-string v1, "KB"

    array-length v2, v0

    add-int/lit8 v2, v2, -0x1

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    array-length v1, v0

    add-int/lit8 v1, v1, -0x2

    aget-object v0, v0, v1

    invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v0

    const-wide/16 v2, 0x400

    mul-long/2addr v0, v2

    invoke-static {v0, v1}, Lcom/estrongs/android/taskmanager/b;->b(J)V

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/TaskManager;->a(Landroid/content/Context;)I

    move-result v0

    mul-int/lit16 v0, v0, 0x400

    mul-int/lit16 v0, v0, 0x400

    int-to-long v1, v0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v3, 0x7f09002d

    invoke-virtual {v0, v3}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v4, 0x7f0700e8

    invoke-virtual {v3, v4}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    const/4 v5, 0x0

    iget-object v6, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v6, v6, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    invoke-static {}, Lcom/estrongs/android/taskmanager/b;->d()J

    move-result-wide v7

    invoke-static {v6, v7, v8}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v6

    aput-object v6, v4, v5

    invoke-static {v3, v4}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v3, 0x7f09002e

    invoke-virtual {v0, v3}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v4, 0x7f0700ea

    invoke-virtual {v3, v4}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    const/4 v5, 0x0

    iget-object v6, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v6, v6, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    invoke-static {v6, v1, v2}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v6

    aput-object v6, v4, v5

    invoke-static {v3, v4}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->d(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    invoke-static {}, Lcom/estrongs/android/taskmanager/b;->d()J

    move-result-wide v3

    long-to-int v3, v3

    invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setMax(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->d(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    invoke-static {}, Lcom/estrongs/android/taskmanager/b;->d()J

    move-result-wide v3

    sub-long v1, v3, v1

    long-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setProgress(I)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_0
.end method

.method private g()V
    .locals 15

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/h;->e()Ljava/util/List;

    move-result-object v3

    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v0

    const-string v1, "mounted_ro"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    const-string v0, "mounted"

    move-object v1, v0

    :goto_0
    const-string v0, "mounted"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    :try_start_0
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v0

    new-instance v2, Landroid/os/StatFs;

    invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v2, v0}, Landroid/os/StatFs;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Landroid/os/StatFs;->getBlockSize()I

    move-result v0

    int-to-long v4, v0

    invoke-virtual {v2}, Landroid/os/StatFs;->getBlockCount()I

    move-result v0

    int-to-long v6, v0

    invoke-virtual {v2}, Landroid/os/StatFs;->getAvailableBlocks()I

    move-result v0

    int-to-long v8, v0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090035

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v10, 0x7f0700e9

    invoke-virtual {v2, v10}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v10, 0x1

    new-array v10, v10, [Ljava/lang/Object;

    const/4 v11, 0x0

    iget-object v12, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v12, v12, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    mul-long v13, v6, v4

    invoke-static {v12, v13, v14}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v12

    aput-object v12, v10, v11

    invoke-static {v2, v10}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090036

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v10, 0x7f0700ea

    invoke-virtual {v2, v10}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v10, 0x1

    new-array v10, v10, [Ljava/lang/Object;

    const/4 v11, 0x0

    iget-object v12, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v12, v12, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    mul-long/2addr v4, v8

    invoke-static {v12, v4, v5}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v10, v11

    invoke-static {v2, v10}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->e(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    long-to-int v2, v6

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setMax(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->e(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    sub-long v4, v6, v8

    long-to-int v2, v4

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setProgress(I)V
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    const-string v0, "mounted"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_4

    const/4 v1, 0x0

    const/4 v0, 0x0

    move v2, v0

    :goto_2
    :try_start_1
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-lt v2, v0, :cond_1

    move-object v0, v1

    :goto_3
    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090037

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090038

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
    :try_end_1
    .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_1

    :goto_4
    invoke-static {}, Landroid/os/Environment;->getDataDirectory()Ljava/io/File;

    move-result-object v0

    new-instance v1, Landroid/os/StatFs;

    invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Landroid/os/StatFs;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/os/StatFs;->getBlockSize()I

    move-result v0

    int-to-long v2, v0

    invoke-virtual {v1}, Landroid/os/StatFs;->getAvailableBlocks()I

    move-result v0

    int-to-long v4, v0

    invoke-virtual {v1}, Landroid/os/StatFs;->getBlockCount()I

    move-result v0

    int-to-long v6, v0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090030

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v8, 0x7f0700e9

    invoke-virtual {v1, v8}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/Object;

    const/4 v9, 0x0

    iget-object v10, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v10, v10, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    mul-long v11, v6, v2

    invoke-static {v10, v11, v12}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v10

    aput-object v10, v8, v9

    invoke-static {v1, v8}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090031

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v8, 0x7f0700ea

    invoke-virtual {v1, v8}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/Object;

    const/4 v9, 0x0

    iget-object v10, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v10, v10, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    mul-long/2addr v2, v4

    invoke-static {v10, v2, v3}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v8, v9

    invoke-static {v1, v8}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->g(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    long-to-int v1, v6

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setMax(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->g(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    sub-long v1, v6, v4

    long-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setProgress(I)V

    return-void

    :catch_0
    move-exception v0

    const-string v1, "removed"

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090032

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090033

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090032

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v2, 0x7f090033

    invoke-virtual {v0, v2}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_1
    :try_start_2
    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string v4, "/mnt/sdcard"

    invoke-virtual {v0, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string v4, "/sdcard"

    invoke-virtual {v0, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    goto/16 :goto_3

    :cond_2
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_2

    :cond_3
    new-instance v1, Landroid/os/StatFs;

    invoke-direct {v1, v0}, Landroid/os/StatFs;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/os/StatFs;->getBlockSize()I

    move-result v0

    int-to-long v2, v0

    invoke-virtual {v1}, Landroid/os/StatFs;->getBlockCount()I

    move-result v0

    int-to-long v4, v0

    invoke-virtual {v1}, Landroid/os/StatFs;->getAvailableBlocks()I

    move-result v0

    int-to-long v6, v0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f09003a

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v8, 0x7f0700e9

    invoke-virtual {v1, v8}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/Object;

    const/4 v9, 0x0

    iget-object v10, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v10, v10, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    mul-long v11, v4, v2

    invoke-static {v10, v11, v12}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v10

    aput-object v10, v8, v9

    invoke-static {v1, v8}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f09003b

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v8, 0x7f0700ea

    invoke-virtual {v1, v8}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/Object;

    const/4 v9, 0x0

    iget-object v10, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    iget-object v10, v10, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    mul-long/2addr v2, v6

    invoke-static {v10, v2, v3}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v8, v9

    invoke-static {v1, v8}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->f(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    long-to-int v1, v4

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setMax(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/b;->f(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;

    move-result-object v0

    sub-long v1, v4, v6

    long-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setProgress(I)V
    :try_end_2
    .catch Ljava/lang/IllegalArgumentException; {:try_start_2 .. :try_end_2} :catch_1

    goto/16 :goto_4

    :catch_1
    move-exception v0

    const-string v0, "removed"

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090037

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090038

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_4

    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090037

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->a:Lcom/estrongs/android/taskmanager/b;

    const v1, 0x7f090038

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_4

    :cond_5
    move-object v1, v0

    goto/16 :goto_0
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->b:Landroid/telephony/TelephonyManager;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/h;->c:Landroid/telephony/PhoneStateListener;

    const/16 v2, 0x1c1

    invoke-virtual {v0, v1, v2}, Landroid/telephony/TelephonyManager;->listen(Landroid/telephony/PhoneStateListener;I)V

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/h;->c()V

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/h;->d()V

    return-void
.end method

.method public b()V
    .locals 3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/h;->b:Landroid/telephony/TelephonyManager;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/h;->c:Landroid/telephony/PhoneStateListener;

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/telephony/TelephonyManager;->listen(Landroid/telephony/PhoneStateListener;I)V

    return-void
.end method
